<include file="Public::header" />
			<div class="content-box"><!-- Start Content Box -->
				
				<div class="content-box-header">
					
					<h3>修改分类</h3>
					<div class="clear"></div>
				</div> <!-- End .content-box-header -->
				
				<div class="content-box-content">
                    <div class="tab-content" id="tab2">
					
						<form action="{:U('main/cateEdit')}" method="post">
							
							<fieldset> <!-- Set class to "column-left" or "column-right" on fieldsets to divide the form into columns -->
								<p>
                                    <label><span class="c1">*</span>选择上级分类：</label>              
                                    <select name="fcid" class="small-input">
                                            <option value="0">添加顶级分类</option>
                                            <volist name="fcate" id="vo">
                                                <option value="{$vo.cid}" {$fcate_curr[$vo['cid']]}>{$vo.cname}</option>
                                            </volist>
                                    </select> 
								</p>
                                <p>
                                    <label><span class="c1">*</span>分类名称：</label>
                                    <input class="text-input large-input" type="text" id="title" name="cname" value="{$cate_curr.cname}"/>
                                    <br />
								</p>
                                <p>
                                    <label><span class="c1">*</span>导航显示：</label>
                                    是<input type="radio" name="index_display" value="1" <php>echo ($vo['index_display'] == 1) ? 'checked="checked"' : '';</php>/>
                                    否<input type="radio" name="index_display" value="2" <php>echo ($vo['index_display'] == 2) ? 'checked="checked"' : '';</php>/>
                                    <br />
								</p>
                                <p>
                                    <label>导航排序：</label>
                                    <input class="text-input small-input" type="text" name="order" value="{$vo.order}"/>
                                    <br />
                                    <small>设置了导航显示后才有效。</small>
                                </p>
                                <p>
                                    <label><span class="c1">*</span>单页分类：</label>
                                    是<input type="radio" name="single_page" value="1" <php>echo ($vo['single_page'] == 1) ? 'checked="checked"' : '';</php>/>
                                    否<input type="radio" name="single_page" value="2" <php>echo ($vo['single_page'] == 2) ? 'checked="checked"' : '';</php>/>
                                    <br />
                                    <small>点击此分类时只会读取此分类下的最新的一篇文章。</small>
								</p>                                
								<p>
                                    <input type="hidden" name="cid" value="{$cate_curr.cid}" />
                                    <input class="button" type="submit" value="提交" />
								</p>
								
							</fieldset>
							
							<div class="clear"></div><!-- End .clear -->
							
						</form>
						
					</div> <!-- End #tab2 --> 					
				</div> <!-- End .content-box-content -->
			</div> <!-- End .content-box -->
<include file="Public::footer" />